//
//  HWjianzhiduiObject.m
//  HWanGame
//
//  Created by 陈道斌 on 2021/4/15.
//  Copyright © 2021 Chendaobin. All rights reserved.
//

#import "HWjianzhiduiObject.h"

@implementation HWjianzhiduiObject

+ (NSString *)keylocalization:(NSString *)keystr {

    return   NSLocalizedString(keystr, nil);
    
}


+ (NSString *)returnLanguageAcquisition {
    
    NSString *str =      [NSBundle currentLanguage];
    //  0 中文   1.英文  
   //  str containsString:<#(nonnull NSString *)#>
    if ([str isEqualToString:@"en-CN"]) {
        
        return  @"1";
        
    }else if ([str isEqualToString:@"zh-Hans-CN"]) {
        
        
        return  @"0";
        
        
        
    } else {
        
        
        return  @"0";
    }
    
}
@end
